export interface FlowDemoTableColumns {
    id:number;  // 主键
    title:string;  // 标题
    status:number;  // 审核状态
    createdBy:string;  // 用户id
    age:number;  // 年龄
    actionBtn:any
}


export interface FlowDemoInfoData {
    id:number|undefined;        // 主键
    title:string|undefined; // 标题
    status:boolean; // 审核状态
    updatedAt:string|undefined; // 更新日期
    createdBy:number|undefined; // 用户id
    age:number|undefined; // 年龄
    actionBtn?:any
}


export interface FlowDemoTableDataState {
    ids:any[];
    tableData: {
        data: Array<FlowDemoTableColumns>;
        total: number;
        loading: boolean;
        param: {
            pageNum: number;
            pageSize: number;
            title: string|undefined;
            status: number|undefined;
            dateRange: string[];
        };
    };
}


export interface FlowDemoEditState{
    loading:boolean;
    isShowDialog: boolean;
    formData:FlowDemoInfoData;
    rules: object;
}
